package repo

import (
	"album/model"
	"context"
	"listenboos-common/db"
)

type OrderInfoRepo interface {
	Save(ctx context.Context, conn db.DBConn, data []*model.OrderInfo) error
	FindByAid(ctx context.Context, orderNo string) ([]*model.OrderInfo, error)
	DeleteOrderInfos(ctx context.Context, conn db.DBConn, orderNo string) error
}
